var $ = exports

var StringConsole = function() {
	this.buffer = ""
}

StringConsole.prototype.print = function(line) {
	this.buffer += line
}

StringConsole.prototype.println = function(line) {
	this.print(line + "\n")
}

StringConsole.prototype.toString = function() {
	return this.buffer
}

$.build = function() {
	return new StringConsole()
}